package top.chmin.project.cloud.common;

import cn.hutool.core.util.StrUtil;

/**
 * chmin
 * 2024/1/11 9:58
 * cloud-code
 */
public class Column {
    public final String fieldName;
    public final String columnName;

    public Column(String columnName) {
        this.columnName = columnName;
        this.fieldName = StrUtil.toCamelCase(columnName);
    }

    public Column(String fieldName, String columnName) {
        this.fieldName = fieldName;
        this.columnName = columnName;
    }

}
